<template>
	<view>
		<web-view :src="contentUrl"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				contentUrl:''
			}
		},
        onLoad(options) {
			let that = this;
			if(options.type == "chuzhi"){
				that.contentUrl = "https://mp.weixin.qq.com/s?__biz=MzI3NTQyMjA1MA==&mid=2247484036&idx=1&sn=a481086e990521f41c976b0d6ae6381a&chksm=eb044c89dc73c59fdf4836356afaac7b8743bcd13e0800c5fa7bea41b455e251eccb089745b0#rd"; 
			}else if(options.type == "jifen"){
				that.contentUrl = "https://mp.weixin.qq.com/s?__biz=MzI3NTQyMjA1MA==&mid=2247484043&idx=1&sn=2f2f3f27db0c5261d96b964b851849fa&chksm=eb044c86dc73c5909069569ddee2e7978b55dd8681c22d9e459c9bb04d8c8b86cfd8893f5b0c#rd"; 
			}else if(options.type == 'zhaoshang'){
				that.contentUrl = "https://mp.weixin.qq.com/s?__biz=MzI3NTQyMjA1MA==&mid=2247484048&idx=1&sn=b4a3ce2f611329a853e7ac5c7a6bb312&chksm=eb044c9ddc73c58b6bb07bc06540ad97e3ce7527bfc44c4f98ffbaaddaeeb7614e65e9b77d28#rd"; 
			}else if(options.type == "video"){
				that.contentUrl = "https://mp.weixin.qq.com/s?__biz=MzI3NTQyMjA1MA==&mid=2247484048&idx=1&sn=b4a3ce2f611329a853e7ac5c7a6bb312&chksm=eb044c9ddc73c58b6bb07bc06540ad97e3ce7527bfc44c4f98ffbaaddaeeb7614e65e9b77d28#rd"; 
			}
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
